package com.zx.fm.domain;

import com.zx.common.annotation.Excel;
import com.zx.common.annotation.Excels;
import com.zx.common.core.domain.entity.SysUser;
import com.zx.pm.domain.Project;
import lombok.Getter;
import lombok.Setter;

/**
 * -- 高贵的马儿驱逐体内的一切外力 --
 *
 * @author kaajee
 * @date 2025/9/2
 * @desc
 */
@Setter
@Getter
public class ReimbursementApplicationVO extends ReimbursementApplication{
    @Excels({
            @Excel(name = "用户编号", targetAttr = "userId", sort = 1, type = Excel.Type.EXPORT),
            @Excel(name = "用户姓名", targetAttr = "userName", sort = 2, type = Excel.Type.EXPORT)
    })
    private SysUser user;

    @Excels({
            @Excel(name = "项目编号", targetAttr = "projectNo", sort = 1, type = Excel.Type.EXPORT),
            @Excel(name = "项目名称", targetAttr = "projectName", sort = 2, type = Excel.Type.EXPORT)
    })
    private Project project;

    @Override
    public String toString() {
        return "ReimbursementApplicationVO{" +
                "project=" + project.toString() +
                "user=" + user.toString()
                + super.toString()+
                "}";
    }
}
